body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 20%;
    position: relative;
    margin-top: 1px; /* 调整与上方元素的间距 */
    clear: both; /* 清除浮动元素的影响 */
}

h1, h2 {
    color: #333;
}

input[type="file"], input[type="button"] {
    margin: 10px 0;
    border: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

input[type="file"] {
    display: block;
    margin: 10px auto;
}

input[type="button"]:hover {
    background-color: #45a049;
}

#imagePreview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#imagePreview img {
    margin: 10px;
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}
